using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Zpb;

public static class GameData
{
    public static string Account = "";
    public static long Uuid = 0;
    public static string Token = "";

    public static long Puid = 0;

    public static bool IsSelf(this long puid) => Puid == puid;

    public static PlayerInfoBase PlayerInfoBase = new();
    public static PlayerInfoMisc PlayerInfoMisc = new();
    public static PlayerInfoTalent PlayerInfoTalent = new();
    public static PlayerInfoStatus PlayerInfoStatus = new();
    public static PlayerInfoItems PlayerInfoItems = new();
    public static PlayerInfoEquips PlayerInfoEquips = new();

    public static Dictionary<string, InfoSkill> Skills = new();
    public static Dictionary<string, InfoUsage> Usages = new();

    public static RoomInfo RoomInfo = new();
}
